<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>大饼的私房菜</title>
<link rel="stylesheet" href="css/bootstrap.css"/>
<link rel="stylesheet" href="css/bootstrap-responsive.css"/>
<link rel="stylesheet" href="css/bootstrap-wysihtml5.css"/>
<link rel="stylesheet" media="screen" href="css/index.css"/>
</head>
<body>
<div id="baseWrapper">

</div>

	<!-- data-main="scripts/app/main"  -->
<script src="scripts/libs/require.js"></script>
<script src="scripts/app/main.js"></script>
<script type="text/javascript">
require([ 'Modules/TopNavModule', 'Modules/IndexModule','BaseModule','Modules/IdearModule','Modules/BlogModule'], function(
	TopNavModule, IndexModule,BaseModule,IdearModule,BlogModule) {
	var navbar = new TopNavModule();
	$('body').prepend(navbar.render().el);
	var index = new IndexModule();
	var idearModule=new IdearModule();
	var blogModule=new BlogModule();
	$('#baseWrapper').html(index.render().el);
	$('#baseWrapper').append(idearModule.el);
	$('#baseWrapper').append(blogModule.el);
	var baseRouter=new BaseModule.BaseRouter();
	Backbone.history.start();
});
</script>
</body>
</html>
